/*
*	Ivan Concua 12352
*	Roberto Andrino 12413
*	Algoritmos y estructuras de datos
*	Probabilidades.java
*	
*/
package lab7;
import java.util.*;
/**
 *
 * 
 */
public class Driver {
//el main solo recibe las cadenas
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        System.out.println("Ingrese frase ");
        Scanner scan =new Scanner(System.in);
        String frase = scan.next();
        Huff f =new Huff();
        System.out.println(""+f.compress(frase));
        System.out.println("ingrese frase a decodificar: ");
        frase = scan.next();
        System.out.println(""+f.expand(frase));
    }
}
